<style type="text/css">
#nav {
float: left;
font: bold 12px Arial, Helvetica, Sans-serif;
border: 1px solid #121314;
border-top: 1px solid #2b2e30;
overflow: hidden;
width: 1000px;
background: #853035;

}
.ul-menu{width: 1000px;
	height:38px;
	background:#853035;
	border-bottom: 1px solid #FFF;
	text-transform:uppercase;
	
}
#nav ul {
width: 1000px;
margin: 0;
padding: 0;
list-style: none;
}

#nav ul li {
float: left;

}

#nav ul li:first-child{
	border-top:none;
	}

#nav ul li a {
float: left;
color: #FFFFFF;
padding: 10px 16px;
text-decoration: none;
}

#nav ul li a.current{color: #ffe000;}

#nav ul li a:hover,
#nav ul li:hover > a {
color: #ffe000;
background: #853035;

}

#nav li ul a:hover,
#nav ul li li:hover > a {
color: #FFFFFF;
background: #666666;
}


#nav ul li li:first-child:hover > a{
border-top-left-radius:5px;	
border-top-right-radius:5px;	
	}
#nav ul li li:last-child:hover > a{
border-bottom-left-radius:5px;	
border-bottom-right-radius:5px;	
	}
#nav li ul {
background: #853035;
left: -999em;
margin: 38px 0 0;
position: absolute;
width: 184px;
z-index: 9999;
border-radius:5px;
border:1px #FFF solid
}

#nav li:hover ul {
left: auto;

}

#nav li ul a {
background: none;
border: 0 none;
margin-right: 0;
width: 152px;
border-top: 1px solid transparent;
}

.nav ul li ul {
position: absolute;
left: 0;
display: none;
visibility: hidden;
}

.nav ul li ul li {
display: list-item;
float: none;
border-radius:5px;
}

.nav ul li ul li ul {
top: 0;

}

.nav ul li ul li a {
font: normal 13px Verdana;
width: 162px;
padding: 5px;
margin: 0;
border-top-width: 0;
border-bottom: 1px solid gray;
border-radius:5px;
}

#nav li li ul {
margin:0px 0 0 184px;
visibility: hidden;
border:1px #FFF solid
}

#nav li li:hover ul {
visibility: visible;
}</style>